package moreHealthView;
/**
 * 
 */

/**
 * @author Parasuraman Ramakrishnan
 * Assignment Name: Homework1
 * Completed Date: 9/14/2009
 *
 */

//import java.io.BufferedReader;

import java.io.IOException;
import moreHealthModel.Campus.Transit.Halls;
import moreHealthModel.Campus.Transit.Sidewalk;
import moreHealthModel.Student.Student;
import moreHealthModel.Student.StudentJourney;
import moreHealthModel.Student.Student.Disease;

public class Main
	{

		/**
		 * Entry point to the Program
		 * @throws IOException 
		 */			   
		
		
		public static void main(String[] args) throws IOException
			{
				//Form Input Version: Student Information
				System.out.println("Starting Form Input Version: Student Information");
				StudentInformationForm.drawStudentInfoForm(); // Create a frame

				
				System.out.println("Starting Hard coded version");
				Student s;
				s= new Student("Aloke", 23, 7, 80, Disease.heartTrouble);		
				StudentJourney sj = new StudentJourney();
				sj.setStudentInfo(s);
				sj.setStudentVisitedPlaces(new Halls(0,1, "Hall1", 736));
				sj.setStudentVisitedPlaces(new Sidewalk(1,2, 737));			
				System.out.println ("The toal distance travelled is: " + sj.TotalDistanceCalculator(sj.getStudentVisitedPlaces()));

	}
	}
